home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hardcore Gamer Resource Kit
/
Hardcore Gamer Resource Kit - Disc 2.iso
/
Pc
/
F_J
/
HPUPDATE.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-03-26
|
2KB
|
55 lines
@echo off
cls
Echo Working....
if exist hnpws.dll goto CHECKPARMS
goto ERROR
:CHECKPARMS
if exist %1\HODJPODJ\META\HODJPODJ.EXE GOTO OK
if exist C:\HODJPODJ\META\HODJPODJ.EXE GOTO DEFAULT
if %1x==x goto USAGE
Goto REINSTALL
:USAGE
Echo Error! The HODJPODJ directory on your hard drive wasn't found.
Echo Please specify the letter of the hard drive on which
Echo Hodj `N' Podj was installed.
Echo.
Echo For example, if you installed Hodj `N' Podj to your C:
Echo drive then type the following...
Echo.
Echo INSTALL C:
Echo.
Echo If you did specify the correct drive letter then reinstall
Echo Hodj `N' Podj from the CD and try again.
Echo.
goto END:
:DEFAULT
copy hnpws.dll C:\HODJPODJ\META
cls
Echo Hodj `N' Podj is now updated.
goto END
:OK
copy hnpws.dll %1\HODJPODJ\META
cls
Echo Hodj `N' Podj is now updated.
goto END
:ERROR
Echo Error! All of the files needed by the installer couldn't be found.
Echo.
Echo This can be caused by attempting to start the installer from a
Echo drive or directory other than the one in which the installer is located.
Echo.
Echo For example, if the Hodj N' Podj update disk is in the A: drive
Echo then make sure you are at the A: prompt before trying to run
Echo this batch file.
goto END
:REINSTALL
CLS
Echo.
Echo Error! Please reinstall Hodj `N' Podj from the CD's and try again.
Echo The directory in which you install the game must be named "HODJPODJ"
Echo or this batch file will not work. Alternatively, you can simply copy
Echo the file "HNPWS.DLL" into your HODJPODJ\META directory to update.
goto END
:END